<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GraphPaths:  File sorgente backup/elemento_ui.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GraphPaths
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Creazione di grafi e calcolo dei percorsi minimi</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li><a href="annotated.html"><span>Classi</span></a></li>
      <li class="current"><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Elenco&#160;dei&#160;file</span></a></li>
      <li><a href="globals.html"><span>Elementi&#160;dei&#160;file</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Ridefinizioni di tipo (typedef)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Definizioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0b457ace402ca7986e274a9663e8d868.html">backup</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">elemento_ui.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="backup_2elemento__ui_8h.html">Vai alla documentazione di questo file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef ELEMENTO_UI_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ELEMENTO_UI_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;glib.h&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;gtk/gtk.h&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="classelemento__ui.html">    7</a></span>&#160;<span class="keyword">class </span><a class="code" href="classelemento__ui.html">elemento_ui</a></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;{</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;        <a class="code" href="classelemento__ui.html#a40f5ef1a30a1217ca84e1f775090b4c7">elemento_ui</a>();</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classelemento__ui.html#a0493292b0282a61b57f6ff651db628cf">~elemento_ui</a>();</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a98e7ad302abc1681a5e0a7b1facd3213">   17</a></span>&#160;        gdouble <a class="code" href="classelemento__ui.html#a98e7ad302abc1681a5e0a7b1facd3213">get_x</a>() { <span class="keywordflow">return</span> <a class="code" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>; }</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a7b50d6b0afb4411c652e77b67760ecd1">   21</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classelemento__ui.html#a7b50d6b0afb4411c652e77b67760ecd1">set_x</a>(gdouble val) { <a class="code" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a> = val; }</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classelemento__ui.html#ae644078c8941aea0553894201b8df3ad">   25</a></span>&#160;        gdouble <a class="code" href="classelemento__ui.html#ae644078c8941aea0553894201b8df3ad">get_y</a>() { <span class="keywordflow">return</span> <a class="code" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>; }</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a86e8479239496c2924b68283a553a541">   29</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classelemento__ui.html#a86e8479239496c2924b68283a553a541">set_y</a>(gdouble val) { <a class="code" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a> = val; }</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a9ab317999e0e0fd8e387518507356731">   36</a></span>&#160;        gboolean <a class="code" href="classelemento__ui.html#a9ab317999e0e0fd8e387518507356731">is_selected</a>() { <span class="keywordflow">return</span> <a class="code" href="classelemento__ui.html#a85bb78cff2e277cefa95cc51919abfa2">selected</a>; }</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a7295f173d10999017bdb75367c6cb413">   41</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classelemento__ui.html#a7295f173d10999017bdb75367c6cb413">set_selected</a>(gboolean val) { <a class="code" href="classelemento__ui.html#a85bb78cff2e277cefa95cc51919abfa2">selected</a> = val; }</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a06eb5f5ee083b2dabae7076d98b9bc38">   46</a></span>&#160;        gboolean <a class="code" href="classelemento__ui.html#a06eb5f5ee083b2dabae7076d98b9bc38">is_over</a>() { <span class="keywordflow">return</span> <a class="code" href="classelemento__ui.html#a6fd98a4e3bcaaf3aecd3b9c8785ea398">over</a>; }</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classelemento__ui.html#ae7d306f0eac122a5bc03513e1bdeed8a">   51</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classelemento__ui.html#ae7d306f0eac122a5bc03513e1bdeed8a">set_over</a>(gboolean val) { <a class="code" href="classelemento__ui.html#a6fd98a4e3bcaaf3aecd3b9c8785ea398">over</a> = val; }</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classelemento__ui.html#ae7d306f0eac122a5bc03513e1bdeed8a">set_over</a>(gdouble <a class="code" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="code" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classelemento__ui.html#a34b59ae1d798f0e2b7f83b5f109b8144">draw</a>(cairo_t* &amp;cr);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classelemento__ui.html#a5f9504ff39d4de94d48394fae6265ec9">update</a>(gdouble <a class="code" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="code" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;         <span class="keyword">virtual</span> gboolean <a class="code" href="classelemento__ui.html#a90d114a53ee426d0b8860b6d2d9b0cfb">intersect</a>(gdouble <a class="code" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="code" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>);         </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">   81</a></span>&#160;        gdouble <a class="code" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>; </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">   82</a></span>&#160;        gdouble <a class="code" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a85bb78cff2e277cefa95cc51919abfa2">   83</a></span>&#160;        gboolean <a class="code" href="classelemento__ui.html#a85bb78cff2e277cefa95cc51919abfa2">selected</a>; </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classelemento__ui.html#a6fd98a4e3bcaaf3aecd3b9c8785ea398">   84</a></span>&#160;        gboolean <a class="code" href="classelemento__ui.html#a6fd98a4e3bcaaf3aecd3b9c8785ea398">over</a>; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;};</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">#endif // IELEMENTOUI_H</span></div>
<div class="ttc" id="classelemento__ui_html_a34b59ae1d798f0e2b7f83b5f109b8144"><div class="ttname"><a href="classelemento__ui.html#a34b59ae1d798f0e2b7f83b5f109b8144">elemento_ui::draw</a></div><div class="ttdeci">virtual void draw(cairo_t *&amp;cr)</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:18</div></div>
<div class="ttc" id="classelemento__ui_html_a7295f173d10999017bdb75367c6cb413"><div class="ttname"><a href="classelemento__ui.html#a7295f173d10999017bdb75367c6cb413">elemento_ui::set_selected</a></div><div class="ttdeci">void set_selected(gboolean val)</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:41</div></div>
<div class="ttc" id="classelemento__ui_html"><div class="ttname"><a href="classelemento__ui.html">elemento_ui</a></div><div class="ttdef"><b>Definition:</b> elemento_ui.h:7</div></div>
<div class="ttc" id="classelemento__ui_html_ae7d306f0eac122a5bc03513e1bdeed8a"><div class="ttname"><a href="classelemento__ui.html#ae7d306f0eac122a5bc03513e1bdeed8a">elemento_ui::set_over</a></div><div class="ttdeci">void set_over(gboolean val)</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:51</div></div>
<div class="ttc" id="classelemento__ui_html_a06eb5f5ee083b2dabae7076d98b9bc38"><div class="ttname"><a href="classelemento__ui.html#a06eb5f5ee083b2dabae7076d98b9bc38">elemento_ui::is_over</a></div><div class="ttdeci">gboolean is_over()</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:46</div></div>
<div class="ttc" id="classelemento__ui_html_a98e7ad302abc1681a5e0a7b1facd3213"><div class="ttname"><a href="classelemento__ui.html#a98e7ad302abc1681a5e0a7b1facd3213">elemento_ui::get_x</a></div><div class="ttdeci">gdouble get_x()</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:17</div></div>
<div class="ttc" id="classelemento__ui_html_a0493292b0282a61b57f6ff651db628cf"><div class="ttname"><a href="classelemento__ui.html#a0493292b0282a61b57f6ff651db628cf">elemento_ui::~elemento_ui</a></div><div class="ttdeci">virtual ~elemento_ui()</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:8</div></div>
<div class="ttc" id="classelemento__ui_html_a85bb78cff2e277cefa95cc51919abfa2"><div class="ttname"><a href="classelemento__ui.html#a85bb78cff2e277cefa95cc51919abfa2">elemento_ui::selected</a></div><div class="ttdeci">gboolean selected</div><div class="ttdoc">Indica se l&#39;oggetto è stato selezionato. </div><div class="ttdef"><b>Definition:</b> elemento_ui.h:83</div></div>
<div class="ttc" id="classelemento__ui_html_a9ab317999e0e0fd8e387518507356731"><div class="ttname"><a href="classelemento__ui.html#a9ab317999e0e0fd8e387518507356731">elemento_ui::is_selected</a></div><div class="ttdeci">gboolean is_selected()</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:36</div></div>
<div class="ttc" id="classelemento__ui_html_a819a2d328d2634ac037d42c7830023ca"><div class="ttname"><a href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">elemento_ui::x</a></div><div class="ttdeci">gdouble x</div><div class="ttdoc">Coordinata X dell&#39;oggetto. </div><div class="ttdef"><b>Definition:</b> elemento_ui.h:81</div></div>
<div class="ttc" id="classelemento__ui_html_a90d114a53ee426d0b8860b6d2d9b0cfb"><div class="ttname"><a href="classelemento__ui.html#a90d114a53ee426d0b8860b6d2d9b0cfb">elemento_ui::intersect</a></div><div class="ttdeci">virtual gboolean intersect(gdouble x, gdouble y)</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:28</div></div>
<div class="ttc" id="classelemento__ui_html_a5f9504ff39d4de94d48394fae6265ec9"><div class="ttname"><a href="classelemento__ui.html#a5f9504ff39d4de94d48394fae6265ec9">elemento_ui::update</a></div><div class="ttdeci">virtual void update(gdouble x, gdouble y)</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:23</div></div>
<div class="ttc" id="classelemento__ui_html_a6fd98a4e3bcaaf3aecd3b9c8785ea398"><div class="ttname"><a href="classelemento__ui.html#a6fd98a4e3bcaaf3aecd3b9c8785ea398">elemento_ui::over</a></div><div class="ttdeci">gboolean over</div><div class="ttdoc">Indica se il mouse si trova sopra all&#39;oggetto. </div><div class="ttdef"><b>Definition:</b> elemento_ui.h:84</div></div>
<div class="ttc" id="classelemento__ui_html_a40f5ef1a30a1217ca84e1f775090b4c7"><div class="ttname"><a href="classelemento__ui.html#a40f5ef1a30a1217ca84e1f775090b4c7">elemento_ui::elemento_ui</a></div><div class="ttdeci">elemento_ui()</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:3</div></div>
<div class="ttc" id="classelemento__ui_html_a86e8479239496c2924b68283a553a541"><div class="ttname"><a href="classelemento__ui.html#a86e8479239496c2924b68283a553a541">elemento_ui::set_y</a></div><div class="ttdeci">void set_y(gdouble val)</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:29</div></div>
<div class="ttc" id="classelemento__ui_html_ae644078c8941aea0553894201b8df3ad"><div class="ttname"><a href="classelemento__ui.html#ae644078c8941aea0553894201b8df3ad">elemento_ui::get_y</a></div><div class="ttdeci">gdouble get_y()</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:25</div></div>
<div class="ttc" id="classelemento__ui_html_a7b50d6b0afb4411c652e77b67760ecd1"><div class="ttname"><a href="classelemento__ui.html#a7b50d6b0afb4411c652e77b67760ecd1">elemento_ui::set_x</a></div><div class="ttdeci">void set_x(gdouble val)</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:21</div></div>
<div class="ttc" id="classelemento__ui_html_a9c322c97f219f4e15fdf683cbe14c447"><div class="ttname"><a href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">elemento_ui::y</a></div><div class="ttdeci">gdouble y</div><div class="ttdoc">Coordinata Y dell&#39;oggetto. </div><div class="ttdef"><b>Definition:</b> elemento_ui.h:82</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Mar 1 Lug 2014 08:14:03 per GraphPaths da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
